Added Enums to graph.DominoElement.toMap()