Change portfolio from hash to array