First of all, I have little sympathy for people who create JSON like that.  You created a messy, hard to use JSON &quot;schema&quot;, it should be little surprise to anybody that it&#x27;s messy and hard to use.<p>FWIW though, jq can do the query, but I&#x27;m not going to spend the time doing it.