Output array of rows in Model and Return 404 when task not found