support serialisation of objects as csv rows