Changes to enable XML Output Formatters.

Functional tests for Output Formatters are not a part of this PR. Will follow up with Functional Tests after @harshgMSFT's conneg check-in.
Why do we want to take in indent, isn't it already part of writer settings?