implementing jsonrpc calling in fritzpay client