Added datafrombodies to convert html to JSON.