Make Node Graphs serializable