Map a transformation to every value in an object