There is little test-support for JSON, so I started adding some.