- A generic function to output the json data
- Uncommented license :P