code: def stringify_id(id_):
      if isinstance(id_, dict):
          return json.dumps(id_, sort_keys=True, separators=(",", ":"))
      return id_
  
file_path: dash/tests/integration/callbacks/test_wildcards.py
imports: import pytest
  import re
  from selenium.webdriver.common.keys import Keys
  import json
  from dash.testing import wait
  import dash
  from dash import Dash, Input, Output, State, ALL, ALLSMALLER, MATCH, html, dcc
  from tests.assets.todo_app import todo_app
  from tests.assets.grouping_app import grouping_app
label_desc: Use image node_id 1 for calling a global function with example usage: stringify_id(id_) and returns: id_, json