Refactored xdsAdapter conversion of xml LeafClass to documentDossier JSON