RawSerializer: added a prototype