Resolving hyperlinks in RichText

Currently, I’m using a .Net Core application to act as a central hub for my project where the end product is a javascript-powered website (using NextJS). However, I’m having a problem when using Rich Text. From the .Net Core application I receive the Rich Text as I would expect but when it contains hyperlinks to a contentful entry things do not look exactly right.

The problem is as you can see in the screenshot the jObject containing which the “documentToReactComponents” function can’t read and the whole thing crashes.

I have looked at the .net rich text tutorial (Getting Started with Contentful rich text and .NET | Contentful) but I’ve not gotten any wiser. I believe I have to resolve the jObject to a model but have not been able to do that.

Can anyone help me or have an example that can be of use?