Return proper response when using stream output
The v0.5.2 bureaucratic bits.