import json def parse_game_card(game_card_str): try: return json.loads(game_card_str) except json.JSONDecodeError: return {"description": game_card_str}