create full element tree

WIP dump json
WIP dump html