removed erroneous $i extensions from the json variable names as they
are unnecessary