JBTM-1877 - Remove expat and uses xerces for main config

Fix for JBTM-1877