Convert to yamljs for yaml parsing