Fixes errors with the package.json files.