replace . with _ for mongo db names