Read versions instead of packages in the packages.js hack