dokustream: parsing adapted