Fixes #133. Really, type encoders should be able to be set on the inputformat itself