introduce WritableTriple
at this point the job does not crash but we get entirely empty output out of the reducer
make types consistent so reducer works