Add `transformData` option

Add ability to transform entire data object before saving. Useful for customized remapping.