added ability to transform duck types values such as {x:0,y:0}