in app/model/ElasticsearchStatsGroups.scala [32:39]
def apply(nodeInfo: JsValue): Node = {
val nodeName = (nodeInfo \ "name").as[String]
val JsObject(groupsJson) = (nodeInfo \ "indices" \ "search" \ "groups").get
val stats = for ((name, groups) <- groupsJson) yield StatsGroup(name, groups)
Node(nodeName, StatsGroup.withOverallTotal(stats.toList))
}