title: Remove all null values
body: <p>I am trying to remove null values from a json object using jq. I found <a href="https://github.com/stedolan/jq/issues/104" rel="noreferrer" title="this">this issue</a> on their github and so now I'm trying to remove them with <code>del</code>.
  I have this:</p>
  
  <pre><code>'{ id: $customerId, name, phones: ([{ original: .phone }, 
   { original: .otherPhone}]), email} | del(. | nulls)'
  </code></pre>
  
  <p>This doesn't seem to do anything. However if I replace <code>nulls</code> with <code>.phones</code> it does remove the phone numbers.</p>