Result record: replace switch and date by context_id.