Refactored dict to row conversion in VisualFormatWriter.
Refactored row/dict conversion in reader.
dict_to_row and row_to_dict are classmethods now.
Added roundtrip test for dict -> row -> dict.
Roundtrip test for row -> dict -> row.