we have serialisation methods for all registered parameters.
Pls dont introduce new methods for that but rather use Shogun types and register them, then serialisation comes automagically, in a tested, reliable, and unified way