changed to JSON idx files