Make interface more similar to encoding/json and encoding/gob
Filter *~ files in .gitignore
Add EncoderDecoder type.