New way to read/write for Xml/HashMap