This way the user can simply define its caps by only providing the structure name which is what we do in the encoding profile deserialization function for example. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/811>