Implemented ostream Operator

Implemented the ostream operator which converts a BSON object into a
JSON string. The resulting syntax is much cleaner than the previous
implementation.