JsonStreamSerializer fix bug and add test....