Changes phone_data array to a hash

Change makes it possible to use direct Hash lookups instead of Array.find to get
the relevant country's data, which is quicker for lookup.