Change API to return projects and action in id->item maps instead of arrays.