CAMEL-7258 fix.

CAMEL-7258 fix for XmlJsonDataFormat.