code: def ToJson(self):
          
          jsn = super(InvocationTransaction, self).ToJson()
          jsn['script'] = self.Script.hex()
          jsn['gas'] = self.Gas.ToNeoJsonString()
          return jsn
docs: Convert object members to a dictionary that can be parsed as JSON.
  
          Returns:
               dict: