def get_inner_data(dictionary):
    """Gets 2nd-level data into 1st-level dictionary

    :param dictionary: dict
    :return: with 2nd-level data
    """

    out = {}

    for key in dictionary.keys():
        inner_keys = dictionary[key].keys()
        for inner_key in inner_keys:
            new_key = key + " " + inner_key  # concatenate
            out[new_key] = dictionary[key][inner_key]

    return out
Gets 2nd-level data into 1st-level dictionary

    :param dictionary: dict
    :return: with 2nd-level data