code: def save_itemgetter(self, obj):
          
          class Dummy:
              def __getitem__(self, item):
                  return item
          items = obj(Dummy())
          if not isinstance(items, tuple):
              items = (items,)
          return self.save_reduce(operator.itemgetter, items)
docs: itemgetter serializer (needed for namedtuple support)