Add tests for transformLegacyFormatOnExport default setting

and improve setting documentation

Change-Id: I9c8feb015583810a43793f13353ed5fffeb4bf8e
Merge "Add tests for transformLegacyFormatOnExport default setting"