create_yaml_header function

Convert list objects into R Markdown YAML headers