[libvirt] [PATCH 2/5] tests: virjson: Modify logic in testJSONFromString