YAMLWriter tries to convert everything to Json but the YamlScaler object doesn't have a toJson method. ChatGPT didn't seem to understand this so I was on my own again. 1. Fork the repo ( 2. Figure out what's going on 3. Fix it