SERVER-10159 Use StringMap to avoid string copies when finding a collection
SERVER-10159 Only do rematch for positional data when necessary