Tasks are now created with correct object references. (Plus debug messages when objects in repo cannot be parsed.)