Added retrieveRecords to WeavePathData for fetching data in a row-based structure.
Converted cytoscapejs tool to use retrieveRecords and reduced code size significantly.