class MenuItemComponentSerializer(serializers.Serializer):
    url = ComponentURLField(source='component')
name = Field(source='component.name')
isReplaceable = Field()
How to extend model on serializer level with django-rest-framework