added archive_t based (de-)serialize functions