It only outputs tree structure though (no geometry information)
Created attachment 347243 [details] Patch
Committed r234924: <https://trac.webkit.org/changeset/234924>
<rdar://problem/43380597>