private AutoLayoutView layout(PageContext pageContext) throws QueryException {
   AutoLayoutView layout = new AutoLayoutView(pageContext.getRoot(), this);
   layout.getStylesheets().add(getClass().getResource("/non-nested.css").toExternalForm());
   ObjectNode data = pageContext.evaluate(endpoint);
   layout.setData(data);
   layout.measure(data);
   AnchorPane.setTopAnchor(layout, 0.0);
   AnchorPane.setLeftAnchor(layout, 0.0);
   AnchorPane.setBottomAnchor(layout, 0.0);
   AnchorPane.setRightAnchor(layout, 0.0);
   return layout;
 }