Serialize a shader group specification by retrieving the "pickle" attribute
for the group. This will turn the full ShaderGroup specification into a
string in the same format that's accepted by the new ShaderGroupBegin
syntax.