Added serializer/deserializer methods for nodes/node