Fixed some stuff in JsonViewer