json2html functionality working