fixed unicode serialisation

unicode characters in arguments get mangled up. Tested in Python 3.3.3 only.