Assert mutated field is a string before mutating it

The field to mutate might not be a String because node-logstash try to infer if it is an Integer or a Float (from filter_regex.js).

This fix assert the mutation will always process a String.