code: def save_samples_json(samples, output_path):
      """Save decoded tuples as JSON, converting NumPy floats to Python floats.
  
      We set ensure_ascii=True to prevent json from escaping non-ASCII chars
      in the texts.
      """
      with open_remote(output_path, "w") as fout:
          json.dump(
              samples, fout, default=float, ensure_ascii=False, indent=2
          )
  
file_path: DeepSpeech/training/deepspeech_training/util/evaluate_tools.py
imports: from __future__ import absolute_import, division, print_function
  import json
  from multiprocessing.dummy import Pool
  import numpy
  from attrdict import AttrDict
  from .flags import FLAGS
  from .text import levenshtein
  from .io import open_remote
label_desc: Use image node_id 6 for calling a global function with example usage: save_samples_json(samples, output_path) without return types