Start to build the newer result object

It will now be a JsonNode will all information, sent as text to the JavaScript
side.

Add basic tests.
Add more tests for new-shape validation results
Test code: use more convenient matchers