simplify persisting SerializableGlobalPrefs in AppPrefs.cpp