util function converting backtrace into airbrake notice xml