Changed gropus serialization in shcedules serialization