generalize TransformStrategy to transform both integers and strings.