Add a newline where needed in the optimize_parameters output