removed the dataset from the serde methods in RBMs