Accepting timestamp as date when mapping objects

Fixes #12