title: How json dumps None to empty string
body: <p>I want Python's <code>None</code> to be encoded in json as empty string how? Below is the default behavior of <code>json.dumps</code>.</p>
  <pre><code>&gt;&gt;&gt; import json
  &gt;&gt;&gt; json.dumps(['foo', {'bar': ('baz', None, 1.0, 2)}])
  '[&quot;foo&quot;, {&quot;bar&quot;: [&quot;baz&quot;, null, 1.0, 2]}]'
  </code></pre>
  <p>Should I overwrite the json encoder method or is there any other way?</p>
  <p>Input data is not that simple as in above example, on every request it could be changed to different data structure. Its difficult to write a function for changing data structure.</p>