code: def fix_runs_data_for_json(data):
      for run_data in data:
          _fix_scalar_values_for_json(run_data["scalars"])
  
imports: import json
  import logging
  import math
  import os
  import socket
  import subprocess
  import sys
  import threading
  import time
  from werkzeug.exceptions import NotFound
  from werkzeug.utils import redirect
  from guild import serving_util
  from guild import util
  from guild import var
label_desc: Use image node_id 7 for calling a global function with example usage: fix_runs_data_for_json(data) without return types