change format of index_key back to array of strings