:param config:
        :type config: dict
        :return:
        :rtype: yowsup.config.config.Config

def transform(self, config):
        """
        :param config:
        :type config: dict
        :return:
        :rtype: yowsup.config.config.Config
        """
        out = {}
        for prop in vars(config):
            out[prop] = getattr(config, prop)
        return out