Create a way to declare validators in the new serialization format
<rdar://problem/101082457>
Pull request: https://github.com/WebKit/WebKit/pull/5289
Committed 255443@main (68cb8b9381cc): <https://commits.webkit.org/255443@main> Reviewed commits have been landed. Closing PR #5289 and removing active labels.