public string GetDatabaseList()
        {
            System.Collections.ArrayList arrayList = new System.Collections.ArrayList();

            using (var cursor = client.ListDatabaseNames())
            {
                foreach (var document in cursor.ToEnumerable())
                {
                    Console.WriteLine(document.ToString());
                    arrayList.Add(document.ToString());
                }
            }
            return(arrayList.ToJson());
        }