CSHARP-987: fixed issue with bulk upsert identifiers on pre-2.6 servers.
CSHARP-987: Code review changes.
CSHARP-995: Add support for reading the new extended JSON formats added in server 2.6.
CSHARP-995: Adapt to master branch.