Resurrect `checkJSONSize`.