[libvirt] attach/detach device in json mode