title: ansible json_query How to define default value to missing key
body: <p>I've got some variables:</p>
  <pre><code>  vars:
      foo:
        - {name: &quot;bar&quot;, path: &quot;/tmp&quot;}
        - {name: &quot;zob&quot; }
      default: &quot;/home&quot;
  </code></pre>
  <p>I'd like to make json_query that extracts name and path, and when path is not defined takes a default value.</p>
  <p>The result I would like is</p>
  <pre><code>  - {name: &quot;bar&quot;, path: &quot;/tmp&quot;}
    - {name: &quot;zob&quot;, path: &quot;/home&quot;}
  </code></pre>
  <p>Is there a possiblity in json_query to defined a default value when the key is not defined?</p>
  <p>Thanks,
  Raoul</p>