entry: break out time, level and message from data

Replaces #33 and fixes #44.

Please review @aybatme
This is still magic, but I don't like doing it for all.