[libvirt] [PATCH] rpc: add testing of RPC JSON (de)serialization