Changed custom writers from namedtuples to lists of tuples