an annotation serializer