pub fn to_firestore_fields(obj: &Value) -> Map<String, Value>
Convert a flat JSON object into Firestore fields format.