Add convertRaw to marshal from Raw events to high-level events