merged $allCodes returns items with nested array

items from the common_locales in line 1493 return nested array of "name"=>LangName,"native"=>NativeName.
need to make sure to pull the "name" parameter from the array for the $returnMap. 
Otherwise was returning:

[Notice] Undefined offset: 0