new json2dom in place of grind