Calculate the bson size for a passed in Javascript object.
the Javascript object to calculate the BSON byte size for
Optional
size of BSON object in bytes
Calculate the bson size for a passed in Javascript object.