geAllEntities returns an immutable list