Add yaml support to config