generating package.json from plugin.xml