Node Module to convert Memory structure to XML and vice versa