Undid binary additions
Added ToJSON to mongoDBConf