Select objects based on value of variable in object using jq
That shows how to return values directly above the selection criteria but how would I get another object