Unfortunately, I cannot share this code (contract details)... To get the data in JSON format, SPServices has an XML to JSON function or if you are using SP2010 and above, you can use CSOM or REST API's.
If you get some code working, I'll be happy to help you along with it.
Cheers,
Matthew
If you get some code working, I'll be happy to help you along with it.
Cheers,
Matthew