MDL-44321 events: make sure the full object is passed to add_record_snapshot in book