Revert "let serialized handle utf-8"

This reverts commit 6ebd3e6feedae8df1257aedb6f8ccda351f20162.
consider byte length of utf-8 when serializing