Configuration:
- PDF.js version: 2.0.550

Steps to reproduce the problem:
1. Render document in SVG mode `renderMode="svg"`

What is the expected behavior? (add screenshot)
Rendering annotations same way as they rendered on canvas

What went wrong? (add screenshot)
```
Warning: Unimplemented operator beginAnnotations
Warning: Unimplemented operator endAnnotations
```
{ ref: replyRef, data: replyDict },
      ]
      annotationDict.assignXref(xref
      popupDict.assignXref(xref
      replyDict.assignXref(xref
      const { data } = await AnnotationFactory.create(
        xref,
        replyRef,
        pdfManagerMock,
        idFactoryMock
      
      expect(data.inReplyTo).toEqual(annotationRef.toString()
      expect(data.replyType).toEqual("R"
      expect(data.title).toEqual("ReplyTitle"
      expect(data.contents).toEqual("ReplyText"
      expect(data.creationDate).toEqual("D:20180523"
      expect(data.modificationDate).toEqual("D:20190523"
      expect(data.color).toEqual(new Uint8ClampedArray([102, 102, 102])
      expect(data.hasPopup).toEqual(false
    }
  }
  describe("TextAnnotation", function () {
    it("should not parse state model and state when not defined", async function () {
      const annotationRef = Ref.get(819, 0
      const annotationDict = new Dict(
      annotationDict.set("Type", Name.get("Annot")
      annotationDict.set("Subtype", Name.get("Text")
      annotationDict.set("Contents", "TestText"
      const replyRef = Ref.get(820, 0
      const replyDict = new Dict(