Updated to_hash method of dependency_condition_methods.rb to work with ResponseSetVersion model