pactl list, format is not machine readable
The format of pactl list is very close to yaml, but it is not. If it were, it would be possible to extract information like current card profiles using JQ. This is important since many get commands, like get-card-profile, are missing.
The format from list cards should be a standard machine readable format, YAML being the most similar to the current output. An another way would be to have a flag for "pactl list" to output json. This may be better since jq is a more commonly installed tool than yq (the jq yaml wrapper)