Evite $ id / $ ref al serializar objetos utilizando Web API y JSON.NET

Parece que no puedo evitar que Web API / JSON.NET useNewtonsoft.Json.PreserveReferencesHandling.Objects al serializar objetos. En otras palabras, $ id / $ ref siempre se usan en los objetos serializados a pesar de usar las siguientes configuraciones:

public class MvcApplication : System.Web.HttpApplication {

    protected void Application_Start () {
        WebApiConfig.Register(GlobalConfiguration.Configuration);
    }

}

public static class WebApiConfig {

    public static void Register (HttpConfiguration config) {
        JsonMediaTypeFormatter jsonFormatter = config.Formatters.OfType<JsonMediaTypeFormatter>().Single();
        jsonFormatter.UseDataContractJsonSerializer = false;
        jsonFormatter.SerializerSettings.Formatting = Newtonsoft.Json.Formatting.Indented;
        jsonFormatter.SerializerSettings.ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Ignore;
        jsonFormatter.SerializerSettings.PreserveReferencesHandling = Newtonsoft.Json.PreserveReferencesHandling.None;
    }

}

¿Algunas ideas?

Respuestas a la pregunta(5)

Su respuesta a la pregunta