Fixed documentation for custom serializer