can now write to and read read from nodes_links.json file on a mac