Add CDATA wrappers for error messages and backtrace