code: def dump_keras(
      keras_model, json_path=None, hdf5_path=None, dump_weights=False
  ):
      tmp_path = create_tmp_path()
      if not json_path:
          json_path = tmp_path + ".json"
      if not hdf5_path:
          hdf5_path = tmp_path + ".hdf5"
      save_keras_definition(keras_model, json_path)
      print("json path: " + json_path)
      if dump_weights:
          keras_model.save(hdf5_path)
          print("hdf5 path: " + hdf5_path)
      return json_path, hdf5_path
  
label_desc: Use image node_id 2 for calling a global function with example usage: dump_keras(keras_model, json_path, hdf5_path, dump_weights) and returns: json_path,  hdf5_path