Escape and sanitize widget api outputs, translated strings, etc.