I would call `to_s` on the strings and `to_sym` on the symbols just so each line makes it obvious what the type for each is. So you don't have to know that name will be a string and key will be a symbol to grok this conversion shit.