Python generation of badge YAML. Mako not honouring newlines. :/