provide more meaningful errors on botched jsonrpc input