adding string support for GetBranchEntryWithIndex