class Plist::PDict

def to_ruby

def to_ruby
  dict = {}
  key = nil
  children.each do |c|
    if key.nil?
      key = c.to_ruby
    else
      dict[key] = c.to_ruby
      key = nil
    end
  end
  dict
end