This middleware should be used transparently when creating bson docs and should manage all encryption details.