YAML is pretty close to the same as JSON for import/export functionality. There are even converters to transform through JSON for this data... there's no reason not to use it similarly.
If you're using a language that doesn't have an open-source package/module for YAML, I'd be surprised.
If you're using a language that doesn't have an open-source package/module for YAML, I'd be surprised.