to_yaml function added.

* Makes use of ZAML.dump