pub fn decode_labels(json: &str) -> Result<BTreeMap<String, String>, Status>
Parse the JSON storage form of a label map.