extract mongo-em-patch to private gem