StringReader reader = new StringReader(buf.toString());
CSVSerializer serializer = new CSVSerializer();
serializer.setKeys("A", "B", "C");
List<?> result = serializer.readObject(reader);
Dictionary<String, Object> row = (Dictionary<String, Object>)result.get(0);
assertEquals("a", row.get("A"));
assertEquals(",b,", row.get("B"));
assertEquals("c", row.get("C"));