Fixed display issue in json formatting. Small tweaks in html