switched code to marshal UTF8 instead of ASCII