Fixed validJsonRPc middleware to set query to equal body