Thanks for the explanation.
My object is a fingerprint template. I just learned that it can't be serialized because it is a set of mathematical equations. The fingerpitn kinda gets encrypted resulting in the fingerprint template. And it needs to be saved into a blob. So far, I have found no way of saving an object into a blob without serializing it, except maybe for xtream which i learned here, and i am still exploring it.