sequence_data << { :title => key.to_s, :value => val }

Force title value to be a string