optional html_safe for api vars