Use YAML instead of homegrown context format.
Update example to use YAML.