stream json rather than load it into memory and resend