Remove older, confusing json streaming code

The encoding is client driven now