     return try json.makeResponse()
   }
 
-  func toDict() -> [String: Any] {
+  func toDict() -> [String: String] {
     return [
       "date": date,
       "place": place,

    return event.description
  }.debugDescription

  //return trackValues + "\n\n\n" + dateValues

  let root = [
    "events": events
  ]

  print(events)
  let mapEvents = events.map { e in
    return e.toDict()
  }
  print(mapEvents)
  return mapEvents.array
}



drop.get { req in
    return try drop.view.make("welcome", [
    	"message": drop.localization[req.lang, "welcome", "title"]
    ])
}

drop.resource("posts", PostController())

}

enum InfoType: Int {
case place = 1
case status = 2
case description = 3
}

func getInfo(nodes: [JiNode], index: Int, infoType: InfoType) -> String {
