applies a JSON patch in-place without copying the object
<nlohmann/json.hpp>
void patch_inplace(basic_json const& json_patch);