Assert correct overall JSON size.

Closes #75.

Statement coverage: 94.6%.