def convert(data)
      data.each do |k, v|
        k = KEYS[k] if KEYS.include?(k)
        v = v.to_s if k.eql? 'zip'

        if NIDT.include?(k)
          instance_variable_set('@nidt', k)
          k = 'nidn'
          v = v.to_s
        end

        var_set(k, v)
      end
    end
def convert(data)
      data.each do |k, v|
        k = KEYS[k] if KEYS.include?(k)
        v = v.to_s if k.eql? 'zip'

        if NIDT.include?(k)
          instance_variable_set('@nidt', k)
          k = 'nidn'
          v = v.to_s
        end

        var_set(k, v)
      end
    end
Creates a new person object

 @param [Hash] data the data used to create the user
 @return [Person]
 Converts a hash to instance variables

 @param [Hash] data the data used to create the instance variables