def convert_es_responses_to_list(search_responses: list):
    """
    Convert responses from ElasticSearch to list.
    This will be used in the backend
    """
    submissions = []
    for response in search_responses:
        submission = response["_source"]
        submission["score"] = response["_score"]
        submission["submission_id"] = response["_id"]
        submissions.append(submission)
    return submissions