code: def _collapse_subitems(base, items):
      
      out = []
      for d in items:
          newd = _diff_dict(base, d)
          out.append(newd)
      return out
docs: Collapse full data representations relative to a standard base.