jq: select
#
missing array fieldsSimilar to something like javascript optional chaining , the select operator can work on array fields that might or might not exist.
Using select to deal with missing fields.
The alternative operator can be used in this example as well. Not sure which ends up being more readable.