Enable streaming if possible + build JSON object from row