adds support for datetime type in BSON storage