fixing issue with json views and highlights