JSON Serialization Performance

Don't flush when the Jackson UTF8 buffer is full but when the http stream flushes
Fix flaky tests, that rely on HasMap order (Java7 vs. Java8)
There are too many constructors. That's why I kept it here.