Print results to stdout and improve formatting for readability