commit readXMLToMap() method