public override string ToString() { JObject restQuery = new JObject(); foreach (RestBasePipe pipe in _restPipes) { restQuery.Add(pipe.GetJsonObject()); } return restQuery.ToString(); }