Complete GET /tasks and GET /tasks/{id}