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

...r settings

@harshgMSFT 
simplify this, too much going on in one line