Basic framework for custom search result serializers.