pub fn extract_annotations(yaml: &Value) -> Option<BTreeMap<String, String>>
Extract annotations from a YAML value’s metadata.