properly format multi-line addresses