[IMP][TASK 10343] Improve print_report function