Convert packages to the new template format (n).