def __init__(self, rendererMapping):
        self._renderers = rendererMapping or {}
        for k, v in self._renderers.iteritems():
            if v is None:
                self._renderers[k] = lambda x: x.toDict()

        self.results = []
        self.headers = set({})