How to turn json to case class when case class has only one field How to turn json to case class when case class has only one field json json