Compare results on docid. Cut out pipe (would have required dynamic typing).
Add real CSV parsing