pub fn depth_cap(value: Value, max_depth: usize) -> Value
Replace every container nested deeper than max_depth (the root is depth 0) with "<depth>".
max_depth
"<depth>"