changed to use yaml data instead of direct json.