Allow JSON and YAML both