Store native Date objects in database; fixes #20