docs: def to_json_file(graph: BELGraph, file: TextIO, **kwargs) -> None:
      """Write this graph as Node-Link JSON to a file."""
      graph_json_dict = to_json(graph)
      json.dump(graph_json_dict, file, ensure_ascii=False, **kwargs)