cat defs.yaml | yq e -o=json | jq -cr > defs.json