Feature streaming json

includes a lot of memory improvements.