An HTML to JSON converter based on json2html's json2html-transform-helper.js