Added JSON to template