For use with interval "units" keys. Converting a key's type from string to enum is backward-compatable.