use yaml to replace psych