Could you add an example of pulp task data into a comment ? We should have done that. Without it it's really hard to read this code.