How to Mimic the [JsonProperty(IsReference = true)] feature of NewtonSoft

We are currently migrating from RavenDB to MongoDB and are unable to find an equivalent feature of NewtonSofts [JsonProperty(IsReference = true)] .

Does MongoDB Currently have a built in way to mimic this? If not how would i go about doing such a custom implementation myself?