For consistency with #20860 we could change the classpath.idx to also be YAML compatible.