Adds some output encoding to remove XSS vulns