title: django-rest-framework json responses sometimes including metadata, sometimes not
body: <p>I am trying to deploy an application to a production server, but testing has revealed a strange inconsistency in django_rest-framework (first with version 2.3.14, now upgraded to 3.0.1). </p>
  
  <p>On my development machine the json response comes wrapped with some metadata:</p>
  
  <pre><code>{u'count': 2, u'previous': None, u'results': [json objects here]}
  </code></pre>
  
  <p>Whereas on the production machine only the 'results' array is returned. </p>
  
  <p>Is there a setting or to change this one way or the other?</p>
  
  <p>Serializers are as follows : </p>
  
  <pre><code>class SampleSerializer(serializers.ModelSerializer):
      class Meta: 
          model = Sample
  
  class LibrarySerializer(serializers.ModelSerializer):
      sample = SampleSerializer()
      class Meta: 
          model = Library
  </code></pre>
  
  <p>views.py </p>
  
  <pre><code>class PullLibraryView(generics.ListAPIView):   
      serializer_class = LibrarySerializer 
      filter_backends = (filters.DjangoFilterBackend,)
  
      def get_queryset(self, *args, **kwargs):
          slug = self.kwargs.get('submission_slug', '')
          return Library.objects.filter(sample__submission__submission_slug=slug)
  </code></pre>