transform: JSONPath support for non-string values.

This fix allows to transform other than string values using JSONPath.