namedtuple provides a binary encoding for nested, named tuples