Refactor DashboardTransformer