viewData: simplify implementation and map to utils::View