change PackageReflector method to return list instead of array