Format error messages uniformly.

Every error message now contains a piece of JSON instance and a corresponding schema term with the brief description of an error in form of tuple or single atom.