ruby 1.8.7 formats its map output differently.
the order of xml attributes isn't guaranteed