renamed JSON params/result to request/response to follow JSON-RPC spec naming convention