Working changes for mongodb replica set support
Indented context for mongodb