main/: some changes

* Shorten some names.
* Create only one JsonValidator, it is wasteful to create one for each
  invocation of .getValidator().