'Receive group configuration as a json (`json_string`), deserialize it
and validate.'

def __init__(self, json_string, course, configuration_id=None):

    self.configuration = GroupConfiguration.parse(json_string)
    self.course = course
    self.assign_id(configuration_id)
    self.assign_group_ids()
    self.validate()
