merging mongo_document into document