Add caching of package.json file locations.