Tidy up the documentation for the JSON classes.