def convert_station_group_to_dictionary(group):
    """
    Takes station group in format: [[station, component, network, location, start, end], [..], ...]
    and returns its dictionary representation:
    {
     station: <station>,
     components: [component1, .., componentN],
     network: <network>,
     location: <location>,
     start: <start>,
     end: <end>
    }
    """
    components = [x[1] for x in group]
    station = group[0]
    return {
        'station': station[0],
        'components': components,
        'network':  station[2],
        'location': station[3],
        'start': station[4],
        'end': station[5]
    }