This is a modified work of https://github.com/Kahsolt/IfYaml as of May, 2021 WTFPL License