Ensure alt embed/ref YAML syntax sets mapping keys (fixes #475)