split the trace string into lines when reporting exception as JSON