npm install fails because invalid package.json