This also means that keys cannot contain certain symbols and, as a
result, potentially user-provided strings need to be stored in the
values, not keys. This fixes bug #20924 about the Goto MAI corrupting
saves.