title: json query that returns parent element and child data?
body: <p>Given the following json:</p>
  
  <pre><code>{
      "README.rst": {
          "_status": {
              "md5": "952ee56fa6ce36c752117e79cc381df8"
          }
      },
      "docs/conf.py": {
          "_status": {
              "md5": "6e9c7d805a1d33f0719b14fe28554ab1"
          }
      }
  }
  </code></pre>
  
  <p>is there a query language that can produce:</p>
  
  <pre><code>{
      "README.rst": "952ee56fa6ce36c752117e79cc381df8",
      "docs/conf.py": "6e9c7d805a1d33f0719b14fe28554ab1",
  }
  </code></pre>
  
  <p>My best attempt so far with JMESPath (<a href="http://jmespath.org/">http://jmespath.org/</a>) isn't very close:</p>
  
  <pre><code>&gt;&gt;&gt; jmespath.search('*.*.md5[]', db)
  ['952ee56fa6ce36c752117e79cc381df8', '6e9c7d805a1d33f0719b14fe28554ab1']
  </code></pre>
  
  <p>I've gotten to the same point with ObjectPath (<a href="http://objectpath.org">http://objectpath.org</a>):</p>
  
  <pre><code>&gt;&gt;&gt; t = Tree(db)
  &gt;&gt;&gt; list(t.execute('$..md5'))
  ['952ee56fa6ce36c752117e79cc381df8', '6e9c7d805a1d33f0719b14fe28554ab1']
  </code></pre>
  
  <p>I couldn't make any sense of JSONiq (do I really need to read a 105 page manual to do this?) This is my first time looking at json query languages..</p>