transform_attributes allows for arbitrary transforms on groups of attributes

:+1: 

`transform` is the one that matters as it is the public api