Add custom serializers for API