Add JSONParser::index