Return the data as serialized string.

        :param dict data: The data to serialize
        :rtype: str

def serialize(self, data):
        """Return the data as serialized string.

        :param dict data: The data to serialize
        :rtype: str

        """
        return json.dumps(self._serialize_datetime(data), ensure_ascii=False)