WIP: Switching over to JSON output for charts.