Added local override for RetainCasing on DefaultJsonSerializer
Added test
Merge pull request #1445 from khellang/diagnostics-serializer

Isolated casing settings for diagnostics serializer