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.
set is private.