Serialization is fixed and now works properly