Refactor the `view` helper to return an object, instead of rendering the view
Refactor the
viewhelper to return an object, instead of rendering the view