index json view (2nd attempt)