def dictify(some_named_tuple):
    """
    Convert Named Tuple to dictionary
    :param some_named_tuple: collections.namedtuple()
    :return:dict,
    """
    return dict((s, getattr(some_named_tuple, s)) for s in some_named_tuple._fields)