Collapsed the object from formGroups into one array