Hmm, I wonder why JsonWriter doesn't work.