code: def logger_json_serializer(
      log_record,
      default=None,
      cls=None,
      indent=None,
      ensure_ascii=False,
  ) -> str:
      assert (
          default is None
          and cls is OrJsonEncoder
          and indent is None
          and ensure_ascii is False
      ), (
          default,
          cls,
          indent,
          ensure_ascii,
      )
      return orjson.dumps(log_record).decode("utf-8")
  
file_path: hail/hail/python/hailtop/hail_logging.py
imports: import datetime
  import logging
  import sys
  from time import timezone
  import orjson
  from aiohttp.abc import AbstractAccessLogger
  from pythonjsonlogger import jsonlogger
label_desc: Use image node_id 1 for calling a global function with example usage: logger_json_serializer(log_record, default, cls, indent, ensure_ascii) and returns: orjson