'\'Serialize\' to a json-serializable representation.
Returns:
a dictionary with keys for the properties of the group.'

def to_json(self):

    return {'id': self.id, 'name': self.name, 'version': Group.VERSION}
