'Return the context for the serializer.'

def get_serializer_context(self):

    context = super(BookmarksListView, self).get_serializer_context()
    if (self.request.method == 'GET'):
        context['fields'] = self.fields_to_return(self.request.query_params)
    return context
