fn pcf_map(
    schema: &Map<String, Value>,
    enclosing_ns: &str,
    in_fields: bool
) -> String