docs: def serialize(self):
          '''
          Returns a serializable dictionary that represents the result object
          '''
          return {
              'name' : self.name,
              'weight' : self.weight,
              'value' : self.value,
              'msgs' : self.msgs,
              'children' : [i.serialize() for i in self.children]
          }