removed hard coded array-to-element considerations, possibility to
extend ParamType and provide a toElement() method