Change VertexQueryPipe toString method to use a StringBuilder