fixed json view for index page