code: def superclasses_bug_fix(data):
      ''' PHP returns "id" in superclass but only accepts superclass_tid '''
      for i, value in enumerate(data['superclasses']):
          data['superclasses'][i]['superclass_tid'] = data['superclasses'][i].pop('id')
      return datf superclasses_bug_fix(data):
      ''' PHP returns "id" in superclass but only accepts superclass_tid '''
      for i, value in enumerate(data['superclasses']):
          data['superclasses'][i]['superclass_tid'] = data['superclasses'][i].pop('id')
      return data
docs: PHP returns "id" in superclass but only accepts superclass_tid