Complete #655 implementation (add `ObjectWriter.writeValues()`)