Updated all the controllers to use the new template that renders json