Pretty format the list output