transform streams directly to model