fixing package.json parse