Fix string rendering (issue #9)

All strings that contain characters outside of the "network character"
set are quoted.

Backslashes and double quotes are escaped for strings inside quotations.