Correct hashing process when <Index> is used
Correct hashing process when <Index> is used

Fixes #298 (hopefully)

redlinesolutions/JSONModel,jsonmodel/jsonmodel,kerrmarin/jsonmodel,icanzilb/JSONModel,CareEvolution/JSONModel,db42/JSONModel