@classmethod
def serialize(cls, data):
    """
        Serializes outgoing data

        :param data: Python data structure to be serialized
        :type data: dict, list, str
        :returns: serialized representation of the data
        :rtype: str
        """
    raise NotImplementedError
