in src/main/scala/deprecated/anotherschema/content/blocks/element/ElementArguments.scala [14:22]
def filterByType(source:Seq[Json], maybeType:Option[String]):Seq[Json] = {
val xtract = JsonPath.root.`type`.string
maybeType match {
case None=> source
case Some(filterFor)=>
source.filter(elem=>xtract.getOption(elem).contains(filterFor))
}
}