updates a JSON object from another object, overwriting existing keys
<nlohmann/json.hpp>
void update( const_reference j, bool merge_objects = false);