title: 'str' object has no attribute 'META' error while returning a JsonResponse
body: <p>I want to return a JsonResponse/HttpResponse from my Django views function. However I am getting 'str' object has no attribute 'META' error. The code for the function is given below.</p>
  
  <pre><code>def search(request):
  
      queryset_list = Influencer.objects.orderby('username')
      if 'username' in request.GET:
          username = request.GET['username']
          if username:
              queryset_list = queryset_list.filter(username__iexact=username)
  
      #Full Name
      if 'fullname' in request.GET:
          fullname = request.GET['fullname']
          if fullname:
              queryset_list = queryset_list.filter(full_name__iexact=fullname)
       context = {
          'listings':queryset_list,
          'values':request.GET
      }
  
      filtered_data = serializers.serialize("json",context)    
  
      return JsonResponse(filtered_data)
  </code></pre>