This is deprecated (see player_activity::json_save in savegame_json.cpp, however from what I can tell no change is needed.