code: def build_test_dict_string(value_string, pretty=False):
      if pretty:
          non_pretty_str = build_test_dict_string(
              value_string, pretty=False
          )
          return to_json_test(json.loads(non_pretty_str), pretty=True)
      else:
          value_string = str(value_string).replace(" ", "")
          return """{"a":%s,"b":[3,%s],"c":{"Z":%s}}""" % tuple(
              [value_string] * 3
          )
  
imports: import pytest
  import plotly.io.json
  import plotly.graph_objects
  import plotly.express
  import numpy
  import pandas
  import json
  import datetime
  import re
  import sys
  import warnings
  from pytz import timezone
  from _plotly_utils.optional_imports import get_module
label_desc: Use image node_id 5 for calling a global function with example usage: build_test_dict_string(value_string, pretty) and returns: to_json_test, unknown