How does an entity get printed into a page after going though the page callback function?
You should pass the array of fully-loaded entity objects to the entity_view function, not only the id.

For example:

...
$entity = entity_load('example_task', array($task);
return entity_view('example_task', $entity, 'full');