Changes for JSON RCP 2.0 implementation.

* Extended tests.
* Introduced strict mode.
* Minor fixes.