convert String key to enum