A node.js Express middleware to handle JSON-RPC (v2) requests within routes