code: def get_json(file_name):
      try:
          with open(file_name, "r") as f:
              out = json.load(f)
  
          # TODO: check 'tar+svn' parsing
          for num_var in [
              "ARCADIA_SOURCE_REVISION",
              "ARCADIA_SOURCE_LAST_CHANGE",
              "SVN_REVISION",
          ]:
              if num_var in out and _Formatting.is_str(out[num_var]):
                  try:
                      out[num_var] = int(out[num_var])
                  except:
                      out[num_var] = -1
          return out
      except:
          return get_default_json()
  
imports: import base64
  import json
  import os
  import re
  import sys
  import shutil
  import tempfile
  import textwrap
  import zipfile
label_desc: Use image node_id 2 for calling a global function with example usage: get_json(file_name) and returns: out, get_default_json