Fixed generating json data for onto vis.