title: jq not working on tag name with dashes and numbers
body: <p>I am using <code>jq</code> but having &quot;-&quot; in my json tag make <code>jq</code> not compile. I cannot escape it to make it works. Here is the command:</p>
  <pre class="lang-bash prettyprint-override"><code>curl -X GET -H &quot;X-AppKey:foo&quot; &quot;foo/v2/_status&quot; | jq '.component-status[]'
  </code></pre>
  <p>I have read in the github of <code>jq</code> this post <a href="https://github.com/stedolan/jq/issues/202" rel="nofollow noreferrer">https://github.com/stedolan/jq/issues/202</a> but I cannot make it work.</p>
  <p>This is the output of the <code>curl</code>:</p>
  <pre><code>{
    &quot;status&quot;: &quot;ok&quot;,
    &quot;hostname&quot;: &quot;0b0b495a46db&quot;,
    &quot;component-status&quot;: [
     {
       &quot;status-code&quot;: 200,
       &quot;component&quot;: &quot;Service1&quot;,
       &quot;status&quot;: &quot;OK&quot;
     },
     {
       &quot;status-code&quot;: 200,
       &quot;component&quot;: &quot;Service2&quot;,
       &quot;status&quot;: &quot;OK&quot;
     }
    ]
   }
  </code></pre>
  <p>Any idea?</p>