parsing and encoding yaml with default values working