pub fn validate_json_depth(json: &str) -> Result<(), FsError>
Validate JSON depth to prevent DoS attacks.