Fix load / save with BSON.