Switched to Yesod. Managed to stream out DB records.
Implemented streaming JSON with Yesod.