def get_models(model_key: str, model_type, json_dict: dict) -> list:
    """This converts json lists into a list of the specified SUSHI model type

    :param model_key: The target key to get the list of JSONObjects
    :param model_type: The target model type, e.g PerformanceModel
    :param json_dict: The JSON dict to get the list from
    """
    # Some vendors sometimes return a single dict even when the standard specifies a list,
    # we need to check for that
    models = []
    if model_key in json_dict and json_dict[model_key] is not None:
        if type(json_dict[model_key]) is list:
            model_dicts = json_dict[model_key]
            for model_dict in model_dicts:
                models.append(model_type.from_json(model_dict))

        elif type(json_dict[model_key]) is dict:
            models.append(model_type.from_json(json_dict[model_key]))

    return models