load package.json on necessity