create a BSON serialization of a given JSON value
<nlohmann/json.hpp>
static std::vector<uint8_t> to_bson(basic_json const& j);