Created dynamic model class and return model instances from _getSingleRecord()