[libvirt] [PATCH] Add test case for parsing JSON docs