Add -P option to yaml to write config.yaml in local testing with prettyprint active See merge request !112