key_and_value function

Coerce to key or value in objects in a key-value pair