removing ids, adding slugs and counts