Isolated casing settings for diagnostics serializer

I added a local override property on the `DefaultJsonSerializer` which is set for diagnostics.
This way, the diagnostics won't break, even if the user sets `JsonSettings.RetainCasing = true` :smile:

The `JsonSettings` should really be an instance, though :confused: