Convert urlInfo object to array.