def clear_process_data(process_data) -> dict:
    """ Create a copy of the process data where all keys with a 'None'-value are removed.

    """

    pd = {
        'order': [],
        'station': [],
        'factory': process_data['factory']
    }

    for order in process_data['order']:
        pd['order'].append({k: v for k, v in order.items() if v is not None})

    for station in process_data['station']:
        pd['station'].append({k: v for k, v in station.items() if v is not None})

    return pd