code: def to_file(self, dictionary):
      with open(self.filepath, "wb") as outfile:
          str_ = json.dumps(
              dictionary,
              indent=4,
              sort_keys=True,
              separators=(",", ": "),
              ensure_ascii=False,
          )
          outfile.write(to_bytes(str_))
      return
  
file_path: datmo/datmo/core/util/json_store.py
imports: import os
  import json
  import yaml
  from io import open
  from datmo.core.util.exceptions import SaveSettingError, FileIOError
label_desc: Use image node_id 2 for calling the JSONStore obj's underlying member method code with example usage: obj.to_file(dictionary) without return types