from django.core import serializers
objectQuerySet = ConventionCard.objects.filter(ownerUser=user)
data = serializers.serialize('json', objectQuerySet, fields=('fileName', 'id'))
Converting a django ValuesQuerySet to a json object