Fix and validate package.json