add data as json to html outout