Change jinja to print dictionary keys and values on frontend, assuming dict is passed to front end (leaving JSON aside for now)