JSON-RPC
changed to REST