def format_v2_score_response(request, response):
    """
    {
        "scores": {
            "<context>": {
                "<model_name>": {
                    "scores": {
                        "<rev_id>": <score>,
                        "<rev_id>": <score>
                    },
                    "features": {
                        "<rev_id>": <features>,
                        "<rev_id>": <features>
                    },
                    "info": <model_info>,
                    "version": "<model_version>"
                }
                "<model_name>": {
                    "scores": {
                        "<rev_id>": <score>,
                        "<rev_id>": <score>
                    },
                    "features": {
                        "<rev_id>": <features>,
                        "<rev_id>": <features>
                    },
                    "info": <model_info>,
                    "version": "<model_version>"
                }
            }
        }
    }
    """
    return util.jsonify({"scores": {
        response.context.name: {
            model_name: format_v2_model(request, response, model_name)
            for model_name in response.request.model_names}}})
{
        "scores": {
            "<context>": {
                "<model_name>": {
                    "scores": {
                        "<rev_id>": <score>,
                        "<rev_id>": <score>
                    },
                    "features": {
                        "<rev_id>": <features>,
                        "<rev_id>": <features>
                    },
                    "info": <model_info>,
                    "version": "<model_version>"
                }
                "<model_name>": {
                    "scores": {
                        "<rev_id>": <score>,
                        "<rev_id>": <score>
                    },
                    "features": {
                        "<rev_id>": <features>,
                        "<rev_id>": <features>
                    },
                    "info": <model_info>,
                    "version": "<model_version>"
                }
            }
        }
    }