writer interface, wrting multiple rows and objects