Replace collections.namedtuple with dodge.data_class in nodes.py