Framework for data transformations