convert package array to list