MongoClient doesn't like stdClass objects in readPreferenceTags