Mutate keys and values in objects