in common/app/model/Formats.scala [95:110]
def writes(cardStyle: CardStyle): JsObject =
cardStyle match {
case SpecialReport => JsObject(Seq("type" -> JsString("SpecialReport")))
case SpecialReportAlt => JsObject(Seq("type" -> JsString("SpecialReportAlt")))
case LiveBlog => JsObject(Seq("type" -> JsString("LiveBlog")))
case DeadBlog => JsObject(Seq("type" -> JsString("DeadBlog")))
case Feature => JsObject(Seq("type" -> JsString("Feature")))
case Editorial => JsObject(Seq("type" -> JsString("Editorial")))
case Comment => JsObject(Seq("type" -> JsString("Comment")))
case Media => JsObject(Seq("type" -> JsString("Media")))
case Analysis => JsObject(Seq("type" -> JsString("Analysis")))
case Review => JsObject(Seq("type" -> JsString("Review")))
case Letters => JsObject(Seq("type" -> JsString("Letters")))
case ExternalLink => JsObject(Seq("type" -> JsString("ExternalLink")))
case DefaultCardstyle => JsObject(Seq("type" -> JsString("DefaultCardstyle")))
}