just curious, does yaml preserve order?  
Could also subclass Properties - http://www.jroller.com/ejboy/entry/preserving_properties_order