code: def dump_json_to_file(file_path: str, session_trans_dict: dict):
      """
      Write a json file from the session_trans_dict dictionary.
  
      Args:
          file_path (str):
              Target filepath where json file is saved
          session_trans_dict (dict):
              Dictionary containing transcript, speaker labels and timestamps
      """
      with open(file_path, "w") as outfile:
          json.dump(session_trans_dict, outfile, indent=4)
  
imports: import copy
  import csv
  import json
  import os
  from collections import OrderedDict
  from datetime import datetime
  from typing import Dict, List, Tuple
  import numpy
  from nemo.collections.asr.metrics.der import concat_perm_word_error_rate
  from nemo.collections.asr.metrics.wer import word_error_rate
  from nemo.collections.asr.models import ClusteringDiarizer
  from nemo.collections.asr.parts.utils.speaker_utils import audio_rttm_map, get_uniqname_from_filepath, labels_to_rttmfile, rttm_to_labels, write_rttm2manifest
  from nemo.utils import logging
label_desc: Use image node_id 1 for calling a global function with example usage: dump_json_to_file(file_path, session_trans_dict) without return types