Automatically hide empty fields in entity display (to reduce visual clutter)

Something related: When printing an entity as PDF, all fields are printed also regardless whether they are empty or not: