bugfix linux used normal output, osx used --output=json for qemu-img