use Util.prettyPrintXml() to print entities to logger
Merge pull request #298 from rostafiychuk/prettyXml

use Util.prettyPrintXml() to print entities to logger