Stream json from ajax

Signed-off-by: Emilien Kenler <hello@emilienkenler.com>