[param_to_array] deprecated and removed param_to_array from code, use param.values instead