refactor(transforms): harmonize api accross transform plugins