Ruby 777

With pre-2.6 servers, the bulk API has an edge case around documents with non-ObjectID _id fields.  This pull request offers a workaround for the issue.
It's entirely possible that _id won't be at the top level of either document. See comments in SERVER-14032. I don't think we should try to cover every obscure edge case but the driver shouldn't throw.