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

Code review for DM-1210
It may be worth simplifying the code a little bit if the templated code is not going to be used in the future.