title: how to export mongodb without any wrapping with NumberInt(...)?
body: <p>I want to export mongodb as json, here is a record:</p>
  
  <pre><code>{"_id":{"$oid":"554f042c0e81bf483e4a4e2f"}, "batch":"3","bz":NumberInt(1)}
  </code></pre>
  
  <p>the problems is when I use json to loads it:</p>
  
  <pre><code>json.loads('{"_id":{"$oid":"554f042c0e81bf483e4a4e2f"}, "batch":"3","bz":NumberInt(1)}')
  </code></pre>
  
  <p>it returns <code>ValueError: No JSON object could be decoded</code>. This is because <code>json</code> can not deal with <code>NumberInt(1)</code>.</p>
  
  <p>So how can I translate <code>NumberInt(1)</code> to <code>1</code> when I export?</p>