def list(context, request): return {group.name: group.to_dict() for group in Group.all(request.db_session)}