def compile_question_data(surveys):
    """ creates a double nested dict of question ids containing dict with question text,
    and an empty list. """
    # Note: we want to keep the question text around so it can be displayed on the page.
    if not surveys:
        return {}
    all_questions = {}
    for question in surveys[0]:  # we only need to get the questions once
        all_questions[question['question id']] = {question['question text']: []}
    return all_questions