update html template to make workaround when some gems override to_json