fixed utf-8 strings serialization (#4)