added rootnode id field for resource index
Merge pull request #553 from kadhireshg/master

added rootnode id field for resource index