Fix (workaround?) for MID-2001 - web service failing to return a resource object.