Fix ShipAttribute (de)serializers