Fix for xpath index in getJsonEntryFromPath
Fixes #268

Added path so element can be located within schema.