YAML: support non-scalar keys