reduction of JSONStream#write
reduction of JSONStream#write

These changes are a result of me debugging things and eventually
realizing that I was causing the problem.  Anyhow, this patch
contains a "cleaner" write method that works the same way
from an external perspective.

Take it or leave it!

mmalecki/json-stream