Efficient re-serialization of buffer-backed datums (handling of array size errors still missing)