Template for the JSON.

Different functions for JSON to talk to the web app