Bare-bones hdf5 serialization of Eigen matrices and vectors