Add StreamStub to tests.
Tests to Uri reading values from stream.
Add Json utility class.
Add possibility to decode json as array.
Fix StreamStub to reset fields after unregister.
Parse request if is JSON.