Refactored the middleware for rendering overviews, so that renderer functions recieve a mongoose object, but the view renderer doesn't.