Added data model validation

Added data model validation to prevent crashing when customer EAV config is faulty