implement `use_datetime`

FIXME: Untested.

First simplistic attempt at implementing `use_datetime` feature in the encoder. Just _encoder(str(datetime_object)).