Changing API List<Contact> getAllContacts() to List<Entity>
getAllContactEntities()