using yaml instead of json