def node_properties
      result = {}
      api_nodes.each do |data|
        next if data['deactivated']
        # in '/v3/nodes' we must take 'name'
        name = data['certname']
        values = data.dup
        %w[deactivated certname].each { |key| values.delete(key) }
        result[name] = values
      end
      result
    end
def node_properties
      result = {}
      api_nodes.each do |data|
        next if data['deactivated']
        # in '/v3/nodes' we must take 'name'
        name = data['certname']
        values = data.dup
        %w[deactivated certname].each { |key| values.delete(key) }
        result[name] = values
      end
      result
    end
get hash of node update properties