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