Outputted json data to a helper and into a template on the main.html template