Support for non-ascii unicode strings in serialization.

I hope a simple change of the original test files explains why this fix is a must have. :)