Correct serialization of assets