Restructure the xmlDataDict