Refactored printing of parameters, results and groups