Clone the packages.json file per package

Previously this was missing vital attributes like 'main', which causes
CommonJS module resolution using require() to fail.