Update serialization for types including RunJavaScriptParameters
<rdar://problem/116490225>
Pull request: https://github.com/WebKit/WebKit/pull/18656
Committed 268915@main (ca78091637ab): <https://commits.webkit.org/268915@main> Reviewed commits have been landed. Closing PR #18656 and removing active labels.