Add format for Path and List(Path) from JsArray.