### Bug description

Having
``` qmd
---
resource-path: .
---
```
in the file, executing `quarto render main.qmd` results in
```
pandoc
  to: html
  output-file: main.html
  standalone: true
  section-divs: true
  html-math-method: mathjax
  wrap: none
  default-image-extension: png
  resource-path: .

metadata
  document-css: false
  link-citations: true
  date-format: long
  lang: en

Aeson exception:
Error in $: parsing [] failed, expected Array, but encountered String
```
Note the last two lines. `quarto pandoc` doesn't raise this exception.

### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [X] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
cscheid
2022-10-08T20:49:49Z
jakubkaczor
bug yaml-validation
v1.2
closed
Changing `resource-path` raises error
https://github.com/quarto-dev/quarto-cli/issues/2765