Changing from PyYaml to JSON.