refactor(common transforms): extract common transforms to a separate module