[Fixes #1216] Provide a property on JsonOutputFormatter to set serialize...

...r settings

@harshgMSFT 
this is an expensive operation (very expensive) because of how it creates a new contract resolver