title: How to swap key and value of an object using jq?
body: <p>Using jq I would like to inverse a json object so that the property becomes the value and the value becomes the key.</p>
  
  <p>Source:</p>
  
  <pre><code>{ 
      "123": "Foobar"
      "567": "Poit"
  } 
  </code></pre>
  
  <p>Goal:</p>
  
  <pre><code>{ 
      "Foobar": "123"
      "Poit": "567"
  } 
  </code></pre>
  
  <p>How can I achieve that?</p>