Fix non object package.json dependencies/devDependencies