refactored conditional_values_set to be in the ModelConverter instance
refactoring of resourceToModel (in progress)