Fix YAML exception by replacing : to -