JSONRPC now adheres to specification.
Added test cases for JSONRPC methods with no arguments and JSONRPC methods returning void.
Fail if target parameters is not null or empty