utf8 serialization bugfix (issue #5)