CARROT-1061: a quick hack to dump erroneous XML string to the console.