Loops through all notifications and formats accordingly