Changing serialization to by hand