add a mapping for switching keys and values in ruby hashes