each time we edit a document, I try to convert the json back to bson, to make sure the content is not changed (without editing it)