can swap the keys and values of a hash