Switching to YAML and adding support for optional restructured text parsing