@classmethod
def parseKwargs(cls, config_output, logger=None):
    """Parse the output field of a configuration dict and return the kwargs to use for
        initializing an instance of the class.

        :param config_output:   The output field of the configuration dict, config['output']
        :param logger:          A logger object for logging debug info. [default: None]

        :returns: a kwargs dict to pass to the initializer
        """
    import piff
    kwargs = config_output.copy()
    if 'stats' in config_output:
        stats = piff.Stats.process(kwargs.pop('stats'), logger=logger)
        kwargs['stats_list'] = stats
    return kwargs
