function serialize(bson, options) {
  options = options || {};
  return JSON.parse(stringify(bson, options));
}
function serialize(bson, options) {
  options = options || {};
  return JSON.parse(stringify(bson, options));
}
function serialize ( bson , options ) { options = options || { } ; return JSON . parse ( stringify ( bson , options ) ) ; }
Serializes an object to an Extended JSON string, and reparse it as a JavaScript object.

@param {object} bson The object to serialize
@param {object} [options] Optional settings passed to the `stringify` function
@return {object}
Serializes an object to an Extended JSON string and reparse it as a JavaScript object .