Fixed: serialize args and kwargs before saving to osis