refactor format
node attributes are defined once in format/node.rb
added :private, :display_url