A mix of the original Mongofill extension + BSON implementation in C++