Skip empty models for hyp_dictionary

When generating nested attributes, empty models (models without any of their attributes filled), should be skipped.