Parse log lines into hashes