Changed the JSON output to make it easier to use it.