[libvirt] [PATCH v2 01/15] util: json: add helper to iterate and steal members of json array