reply with JSON
reply in JSON with case class