dump json from mongodb