Set types and default id type for mongodb connector

/to @ritch