How to get the json format information of all nodes

Asked and answered.

Please don't double post. Nick has asked you for more details in the original thread. Please continue there.