Presenter: improved handling of __toString() in template rendering