[DB] [Changed] Scripts to allow MongoDB and CouchDB + update new export format.