Do not encode strings with "" unless necessary

If a string is being encoded and it can be decoded as another type,
encode with "" otherwise leave them out.