Silent crash when adding key to nlohmann::json object with semicolon omitted