Factor out postProcessPackageData to Util.hs.