@kazark, I made your closure test go green by passing a pointer to the
MockJsonWriter...

I'm thinking in `BeginObject` and `EndObject` the `self MockJsonWriter`
that was being passed down was by-copy, so the changes to `self.json`
were just thrown away.

Let me know what you think!