Serialize both ObjectId and datetime values.

Serialize ObjectId and datetime values even in embedded lists and dictionaries.
Queries on nested ObjectId and datetime values.