code: def zip_dicts(dicts):
      all_keys = set(itertools.chain.from_iterable(dicts))
      zipped = {key: [] for key in all_keys}
      for d in dicts:
          for key in all_keys:
              zipped[key].append(d.get(key))
      return zipped
  
imports: import functools
  import itertools
  import math
  import random
  from typing import Any, Dict, Iterable, List, MutableMapping, NamedTuple, Optional, Type
  from pytext.common.constants import RawExampleFieldName, Stage
  from pytext.config.component import Component, ComponentType, create_component, Registry
  from pytext.utils.usage import log_class_usage
  from .sources import DataSource, RawExample, TSVDataSource
  from .sources.data_source import GeneratorIterator, RowShardedDataSource, ShardedDataSource
  from .tensorizers import initialize_tensorizers, MetricTensorizer, Tensorizer
label_desc: Use image node_id 2 for calling a global function with example usage: zip_dicts(dicts) and returns: zipped