adds json view of boxes index