title: python json custom decode for LONG
body: <p>I've run into problem when testing insert into mondgodb python object 
  which was extracted from some json response of web service using default json decoder, json.load(....</p>
  
  <p>I've got this error: </p>
  
  <pre><code>OverflowError: BSON can only handle up to 8-byte ints
  </code></pre>
  
  <p>Problem is caused by some values in python object which are decoded as long, and mongodb can't handle those.</p>
  
  <p>How can I solve this, any ideas here?</p>
  
  <p>Custom decoder comes to mind, so when some big number is to be decoded to long > instead string to be used there. </p>
  
  <p>Other solution would be: to get python object with some possible long fields in it and to convert all those to string.</p>
  
  <p>I haven't much experience with python and json. Any help would be appreciated </p>