Change batch write item helpers to take in interfaces so its easier to
write mixed values to a table.