Select objects based on value of variable in object using jq Select objects based on value of variable in object using jq bash bash