Modularized data transformations