code: def quote(text):
      if (
          "," not in str(text)
          and "\n" not in str(text)
          and ":" not in str(text)
      ):
          return text
  
      return json.dumps(text, ensure_ascii=False)
  
imports: from __future__ import annotations
  import base64
  import io
  import json
  import os
  import re
  import gradio
  from modules.paths import data_path
  from modules import shared, ui_tempdir, script_callbacks, processing
  from PIL import Image
label_desc: Use image node_id 2 for calling a global function with example usage: quote(text) and returns: json, text