Add unicode support to Serializer.