changed TemplateSerializer to yaml

json sucks