Using the YAML values as dict keys