title: Using jq to create JSON objects/dictionaries
body: <p>In my bash script I have a dictionary/map like:</p>
  
  <pre><code>k1: v1
  k2: v2
  k3: v3
  </code></pre>
  
  <p>Can I possibly use <code>jq --slurp</code> or <code>jq --raw-input</code> to actually convert this to JSON like this:</p>
  
  <pre><code>{
    "k1": "v1",
    "k2": "v2",
    "k3": "v3"
  }
  </code></pre>
  
  <p>possibly by piping something like: <code>echo k1 v1 k2 v2 k3 v3 | jq [???]</code></p>