code: def ToJson(self):
          
          json = super(Block, self).ToJson()
          if self.Transactions[0] and isinstance(self.Transactions[0], str):
              json['tx'] = ['0x%s' % tx for tx in self.Transactions]
          else:
              json['tx'] = [tx.ToJson() for tx in self.Transactions]
  
          # json['sys_fee'] = GetBlockchain().GetSysFeeAmount(self.Hash)
          return json
docs: Convert object members to a dictionary that can be parsed as JSON.
  
          Returns:
               dict: