Update task to not always return an empty dictionary