same yaml parsing code as nerve

this causes the current release of synapse to not run. it also turns out that [this test](https://github.com/airbnb/smartstack-cookbook/blob/master/files/default/tests/minitest/test_test.rb#L22) doesn't actually work!

@memory