How to resolve entries in a rich text?

I have been trying to resolve the entries in a rich text but can’t get it to work. Is there a special way to create the models? I have made models based on the json I get when calling the api, though there is probably something wrong with it. Include doesn’t seems to do anything as nothing gets resolved.