List<KeyValuePair<string, string>> newRows = rows.ToList();
where rows is IEnumerable<Dictionary<string,string>>
var csvToSave = JsonConvert.DeserializeObject<EntityObject>(JsonConvert.SerializeObject(Format.ToJson(newRows)));
static class Format
{
public static string ToJson(List<KeyValuePair<string, string>> values)
{
StringBuilder builder = new StringBuilder();
foreach (var item in values)
{
builder.Append(string.Format("{{{0}:{1}}},", item.Key, item.Value));