trim_key function

Modify the names in a conversion key to only include the first word