changing grouped_data_format to group_format, adding some more tests, and changing js native group format