Added functionality to load a list of nodes from a JSON file