pub fn validate_json(json: &str) -> Result<Value>