pub fn proto_struct_to_map(val: &Struct) -> BTreeMap<String, Value>
Converts a prost struct to a map of key -> JSON