Collapse a log by date into an array of hashes