configurator-export (hackage): Pretty printers and exporters for Configs from the configurator library, in Data.Configurator.  All results are intended to be valid parsing files in the configuration file syntax of the library.  For a full round trip:  This should load the config file, parse it, and then re-export it, rewriting the original config file.  The result should be an identical configuration file (with keys potentially re-arranged and re-sorted, comments removed, etc.)  See the Data.Configurator.Export module for more details and ways to modify the output style.
Keywords: bsd3|configuration|data|library