Added command-line prototype to test the JSON-RPC API