switch to YAML for state load/export