Use reflect.Value.Convert() to convert values to the target type before calling Set()