Use literals for encoderSpec
Removed unused and leaking encoderList