title: jq - How to print key (not value of key) and iterate over keys to print sub value
body: <p>I can print the keys:</p>
  
  <pre><code>$ jq -r '.indices | keys[]'
  plan
  resource
  user
  </code></pre>
  
  <p>I can print the sub value:</p>
  
  <pre><code>$ jq '.indices[] | .primaries.docs.count'
  14208
  1427143
  104475
  </code></pre>
  
  <p>How do I print the key and subvalue?</p>
  
  <pre><code>plan: 14208
  resource: 1427143
  user: 104475
  </code></pre>