I got functions set up to register those things in my database, I'm working on the UI... I just need to get the info in that JSON format.
OK. What do you need the functions to return? (what data structure are you using or would be suitable for what you are doing?). Or can I return whatever data structure I find convenient after parsing the JSON?