package.json generation fixes