Transform dict results in done callbacks to namedtuple