What is wrong with my JSON serialization getting started with lift's JSON library (json4s)
import org.json4s.JsonDSL._
import org.json4s.jackson.JsonMethods._
import org.json4s.{DefaultFormats, JObject}
case class CountryKPI(country_id: String, country_id3: String,
country_value: String, indicator_id: String,
indicator_value: String, value: Double)
val mycc = CountryKPI("first", "FFF", "fff", "XXX", "xxx", 4.0)
implicit val format = DefaultFormats
val extraMetadata: JObject = ("foo" -> 1.0) ~
("countryKPIs" -> Array[CountryKPI](mycc)) ~
("holidaysAT" -> Array[LocalDate](LocalDate.now))
compact(render(extraMetadata))