Split the groups by comma and send them as an array