Updated get_results method so results pretty-print