Add visualization template and json conversion