Revert "Format JSON output for template so it is readable via web ui"

This reverts commit d990baa1843044e2654a54e6f1b4ec4311e622f9.