Grouping te text messages, Converting gourplist to array. Fixed the key Version 2