Map[Scope,Int] to json
Map[IScope, Either[CountDownLatch, Seq[Int]]] to json