code: def ToJson(self):
          
          jsn = super(EnrollmentTransaction, self).ToJson()
          jsn['pubkey'] = self.PublicKey.ToString()
          return jsn
docs: Convert object members to a dictionary that can be parsed as JSON.
  
          Returns:
               dict: