Simplify convert method of package converter