def extract_param_values(params)
      values = []
      params.each do |k, v|
        if v.is_a? Hash
          values.concat extract_param_values(v)
       elsif v.is_a? Array
          temp_hash = {}
          v.each_with_index do |v_,i_|
            temp_hash[i_.to_s] = v_
          end
          values.concat extract_param_values(temp_hash)
        else
          values.push v.to_s
        end
      end
      return values
    end
def extract_param_values(params)
      values = []
      params.each do |k, v|
        if v.is_a? Hash
          values.concat extract_param_values(v)
       elsif v.is_a? Array
          temp_hash = {}
          v.each_with_index do |v_,i_|
            temp_hash[i_.to_s] = v_
          end
          values.concat extract_param_values(temp_hash)
        else
          values.push v.to_s
        end
      end
      return values
    end
params:
   params, Hash
 returns:
   Array, values of each item in the Hash (and nested hashes)

 Extracts the values of a set of parameters, recursing into nested assoc arrays.