added yaml config support

Wanted to submit a internal change we made at work for those of us who prefer yaml over json.