store ms since epoch instead of Date objects

Fixes #22