Insert new lines between entries when converting a log object to string