normalize npm package metadata