title: Convert Bson to string - MongoDB/Javascript
body: <p>how do I convert a bson obj to a string?
  I read <a href="https://stackoverflow.com/questions/5937665/convert-mongodb-bsondocument-into-a-string">Convert MongoDB BsonDocument into a string</a> but that's for c#.
  I'm using Javascript for Mongodb</p>
  
  <p>It would be applied at something like this:</p>
  
  <pre><code>myvar = db.mycol.stats();
  </code></pre>