CQM-153 Fixing cqls portability (xml processing/output formatting)