Store Metadata in Mongo DB.
Fixed error
Fixed metadata export/import to MongoDB store.