Change the way strings and globals are saved, to match the rest of the API