CORE-3989: some minor formatting
fix a bug in the code that decides whether or not to format output properties