add custom value transform to materialization