serialization: switching from json to yaml