Ensure rendered template gets converted str