[FIX] generic datum read/writer usage