Converting to MemoryHash