code: def toorjson(value):
      return markupsafe.Markup(
          ORJSONResponse._render_str(value)
          .replace("<", "\\u003c")
          .replace(">", "\\u003e")
          .replace("&", "\\u0026")
          .replace("'", "\\u0027")
      )
  
imports: from __future__ import annotations
  import asyncio
  import contextlib
  import sys
  import inspect
  import json
  import mimetypes
  import os
  import posixpath
  import secrets
  import shutil
  import tempfile
  import threading
  import time
  import traceback
  from pathlib import Path
  from queue import Empty
  from typing import TYPE_CHECKING, Any, AsyncIterator, Dict, List, Optional, Type
  import fastapi
  import httpx
  import markupsafe
  import orjson
  from fastapi import BackgroundTasks, Depends, FastAPI, HTTPException, status
  from fastapi.middleware.cors import CORSMiddleware
  from fastapi.responses import FileResponse, HTMLResponse, JSONResponse, PlainTextResponse
  from fastapi.security import OAuth2PasswordRequestForm
  from fastapi.templating import Jinja2Templates
  from gradio_client import utils
  from gradio_client.documentation import document, set_documentation_group
  from gradio_client.utils import ServerMessage
  from jinja2.exceptions import TemplateNotFound
  from multipart.multipart import parse_options_header
  from starlette.background import BackgroundTask
  from starlette.responses import RedirectResponse, StreamingResponse
  import gradio
  import gradio.ranged_response
  from gradio import route_utils, utils, wasm_utils
  from gradio.context import Context
  from gradio.data_classes import ComponentServerBody, PredictBody, ResetBody
  from gradio.exceptions import Error
  from gradio.oauth import attach_oauth
  from gradio.queueing import Estimation
  from gradio.route_utils import FileUploadProgress, FileUploadProgressNotQueuedError, FileUploadProgressNotTrackedError, GradioMultiPartParser, GradioUploadFile, MultiPartException, Request
  from gradio.state_holder import StateHolder
  from gradio.utils import get_package_version
label_desc: Use image node_id 1 for calling a global function with example usage: toorjson(value) and returns: markupsafe