enhance the annotation serializer