for some reason the server complains about bson