                 }
 
                 if let field = field {
-                    responseItemDict[field] = node
+                    row[field] = node
                 }
             }
 

        var relationships = [UInt64:Relationship]()
        var paths = [Path]()
        var rows = [[String:ResponseItem]]()
        var responseItemDict = [String:ResponseItem]()

        for i in 0..<candidateList.count {
            if i > 0 && i % result.fields.count == 0 {
                rows.append(responseItemDict)
                responseItemDict = [String:ResponseItem]()
            }

            let field = result.fields.count > 0 ? result.fields[i % result.fields.count] : nil

                }

                if let field = field {
                    row[field] = relationship
                }
            }

