promised-io dependecy added
added special handling for ObjectIDs and sub documents