code: def _read_from_json(self, file):
          
  
          try:
              with io.open(os.path.join(self._PATH, file), encoding="utf8") as f:
                  return {u["id"]: u for u in json.load(f)}
          except IOError:
              return {}
docs: Reads the file specified from json and creates an object based on the id of each element
  
          :param str file: Path to file of json to read
  
          :return: object of data read from json file
  
          :rtype: object