Updating the API to the new API

JAVA-1325
This method can be inlined and you can statically import BsonDocumentWrapper.asBson