paramSetToJSON: Convert an AnalysisPageParamSet to a JSON string
Description
This is almost just calling toJSON but it knows to first remove $transformer
components, since functions can't be JSON encoded, and anyway that
is really server-side information.