widen the entities generic type for listEntityAttributes