Replacing Visitor
$methods :
$_visitFnCache :
__construct()
visitObj( $node)
visitArray( $nodes)
flatten( $arr, $out)