Parameter serializer enhancements2

Second version of the pull request that addresses Jean-Christophe's comments.

Compare view:

  https://github.com/thewtex/SlicerExecutionModel/compare/master...ParameterSerializerEnhancements2