use xml config for mongodb