jq print keys Edit Delete enum jq key keys list print jq 'keys' <<< '{"foo":"bar","bar":"baz"}'[ "bar", "foo" ]