:param config:
        :type config: yowsup.config.base.config.Config
        :return:
        :rtype: bytes

def serialize(self, config):
        """
        :param config:
        :type config: yowsup.config.base.config.Config
        :return:
        :rtype: bytes
        """
        for transform in self._transforms:
            config = transform.transform(config)
        return config