Change station data from array to object