Fixes to the moduledata task in line with changes to the web service