Fixed JSON syntax for GET /tasks