'Returns a dict of answer_ids to answer values. If we cannot generate
an answer (this sometimes happens in customresponses), that answer_id is
not included. Called by "show answers" button JSON request
(see capa_module)'

def get_question_answers(self):

    answer_map = dict()
    for response in self.responders.keys():
        results = self.responder_answers[response]
        answer_map.update(results)
    for entry in self.tree.xpath(('//' + '|//'.join(solution_tags))):
        answer = etree.tostring(entry)
        if answer:
            answer_map[entry.get('id')] = contextualize_text(answer, self.context)
    log.debug('answer_map    =    %s', answer_map)
    return answer_map
