Rather than hard-coding in anyone's serializer here, would it be more flexible to instead register the serializer in settings.py and get it here with serializer = serializers.get_serializer("geojson")?