cat data/ann.json | jq ".metadata.annotations | to_entries | map(select(.key == "label1")) "
[ { "key": "label1", "value": "stam" } ]