* tools/packages.js: change an array to an object, since that's how it's used.