Add custom serializer configuration