fn convert_to_map(value: &Value) -> Map<String, Value>