docs: def get_serializer(self, instance=None, data=None,
                         many=False, partial=False):
          """
          Return the serializer instance that should be used for validating and
          deserializing input, and for serializing output.
          """
          serializers = {
              'node': NodeRequestListSerializer,
              'vote': VoteRequestListSerializer,
              'comment': CommentRequestListSerializer,
              'rate': RatingRequestListSerializer,
          }
          context = self.get_serializer_context()
          service_code = context['request'].query_params.get('service_code', 'node')
  
          if service_code not in serializers.keys():
              serializer_class = self.get_serializer_class()
          else:
              serializer_class = serializers[service_code]
  
          return serializer_class(instance, many=many, partial=partial, context=context)