Add a .__json__ method to Assertion.

I wrote this a long time ago.  I kind of forget what it was for.