jsonrpc params work, return value still fails