fixing api to hit straight rest, adding yaml support