title: jq Filter on sub object value
body: <p>I have a json file people.json:</p>
  
  <pre><code>{
    "Joe" : {"Job" : "Clown", "Age" : 22},
    "Sally" : {"Job" : "Programmer", "Age" : 32},
    "Anne" : {"Job" : "Clown", "Age" : 29}
  }
  </code></pre>
  
  <p>I would like to select everyone who is a Clown. My output should look like this:</p>
  
  <pre><code>{
    "Joe" : {"Job" : "Clown", "Age" : 22},
    "Anne" : {"Job" : "Clown", "Age" : 29}
  }
  </code></pre>
  
  <p>I have tried the .. operator as in </p>
  
  <pre><code>cat people.json | jq '. | map(select(.Job == "Clown"))'
  </code></pre>
  
  <p>But it seems to match Joe and Anne at multiple levels and produces more output then I want. Any ideas? Thanks.</p>