If no format is set, save default format.
Don't consider entities that are bundles of other entities.
Find entity in edit form when the #entity key isn't set.