Provide encoder for string type.

Trivially this one just returns the string.