save json text into mongodb