to_yaml function added. Needs ruby 1.8.7/1.9.3 work but tests pass in 2.0

use ZAML, update test to just push existing data through .to_yaml