Convert html to json Packages