class_docstr: Configure TF Encrypted to use network hosts for the different players.
  
  :param (str,str),str->str hostmap: A mapping of hostnames to
      their IP / domain.
  :param str job_name: The name of the job.
docstr: Saves the configuration as a JSON hostmap file.
  
  :param str filename: Name of file to save to.
code: def save(self, filename):
      """Saves the configuration as a JSON hostmap file.
  
      :param str filename: Name of file to save to.
      """
      with open(filename, "w") as f:
          json.dump(self.hostmap, f)
  
imports: import json
  import logging
  import math
  from abc import ABC
  from abc import abstractmethod
  from collections import OrderedDict
  from pathlib import Path
  import tensorflow
  from .player import Player
label_desc: Use image node_id 3 for calling the RemoteConfig obj's underlying member method code with example usage: obj.save(filename) without return types