Currently we have bunch of Ad-hoc API to inspect Element state. It could be nice if we can dump it as a (pure) JS object without changing Internals API surface.