How to normalize function params

I’d change String.to_atom by String.to_existing_atom, since this data comes from untrusted source.