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

...r settings

@harshgMSFT 
I have seen other tests comparing raw json in string...but i think we need not do that if we trust json serializer to do its job, then we can just do like the above...thoughts?