Completed the web-app and agent interface accounting with hourly data. Also corrected JSON formatting to make sure we produce valid json (verified via JSONLint) to later use with Google Charts.