src/transformers/pipelines/base.py/JsonPipelineDataFormat/__iter__
class JsonPipelineDataFormat:    def __iter__(self):
        for entry in self._entries:
            if self.is_multi_columns:
                yield {k: entry[c] for k, c in self.column}
            else:
                yield entry[self.column[0]]