[libvirt] [PATCH 3/3] json: reject trailing garbage