mark ConfigureJsonSerializer as obsolete