DM-1210: Invert buffering for czar in row-based result handling

Code review for DM-1210
use `make_shared` instead of new?