I have this CBV
class Ansicht(AdminStaffRequiredMixin, LoginRequiredMixin, DetailView):
model = User
template_name = 'SCHUK/Ansicht.html'
context_object_name = 'Ansicht'
Im using _set to display all users data to staff. But I need to use the data for calculations, how can I convert this to json