code: def ToJson(self):
          
  
          json = super(StateTransaction, self).ToJson()
          descriptors = [d.ToJson() for d in self.Descriptors]
  
          json['descriptors'] = descriptors
  
          return json
docs: Convert object members to a dictionary that can be parsed as JSON.
  
          Returns:
               dict: