Change index rsponse to JSON for giant html string with array and the en...

...d