generate a userscript header from data found in package.json