Allow to load/save a model in YAML