code: def to_json(self) -> dict:
          '''export the Deck object to json-ready format'''
  
          d = self.__dict__
          d['p2th_wif'] = self.p2th_wif
          return f to_json(self) -> dict:
          '''export the Deck object to json-ready format'''
  
          d = self.__dict__
          d['p2th_wif'] = self.p2th_wif
          return d
docs: export the Deck object to json-ready format