Fix parsing package.json