def _get_record_answers(qa):
    """Returns the unique set of answers."""
    if 'answers' not in qa:
        return []
    answers = set()
    for answer in qa['answers']:
        answers.add(answer['text'])
    return sorted(answers)
