def METHOD_NAME(quiz_id: str, quiz: Dict[str, Any]) -> str:
    widget_type = "zform"
    question = quiz["question"]
    answers = quiz["answers"]
    heading = quiz_id + ": " + question
    def get_choice(letter: str) -> Dict[str, str]:
        answer = answers[letter]
        reply = "answer " + quiz_id + " " + letter
        return dict(
            type="multiple_choice",
            short_name=letter,
            long_name=answer,
            reply=reply,
        )
    choices = [get_choice(letter) for letter in "ABCD"]
    extra_data = dict(
        type="choices",
        heading=heading,
        choices=choices,
    )
    widget_content = dict(
        widget_type=widget_type,
        extra_data=extra_data,
    )
    payload = json.dumps(widget_content)
    return payload