code: def as_dict(self, replace_value_names=True):
          
          old_children = self.children
          self.children = self.terms
  
          d = super(SectionTerm, self).as_dict(replace_value_names)
  
          self.children = old_children
  
          return d
docs: Return the whole section as a dict