Update notes-to-json.py

Working on writing all the node names to a JSON file; intermediate step. Remembered to load important packages. Added some blank separating lines so it makes sense as you read.