a few quick changes, and viola, we have yaml support