code: def _drop_id_prefixes(self, item):
          
          if isinstance(item, list):
              return [self._drop_id_prefixes(i) for i in item]
          if isinstance(item, dict):
              return {
                  'id' if k.endswith('id') else k: self._drop_id_prefixes(v)
                  for k, v in item.items()
              }
          return item
docs: Rename keys ending in 'id', to just be 'id' for nested dicts.