Change the type of decoded/encoded. See issue #5 for the relevant discussion