Add dump method to Mongo backend