Convert this value into the rich txkoji objects (if applicable)

def rich_item(self, method_name, value):
        """
        Convert this value into the rich txkoji objects (if applicable)
        """
        if value is None:
            return None
        if method_name == 'getAverageBuildDuration':
            return timedelta(seconds=value)
        types = (Build, Channel, Package, Task)
        if isinstance(value, Munch):
            for type_ in types:
                if type_.__name__ in method_name:
                    item = type_(value)
                    item.connection = self.connection
                    return item
        if isinstance(value, list):
            # Do this same rich item conversion for list of Munch objects
            items_list = [self.rich_item(method_name, val) for val in value]
            return items_list
        return value