Use the ```._asdict()``` method of namedtuple (the leading underscore is to avoid name conflicts rather than to indicate you shouldn't use it).