On Tue, Jan 28, 2014 at 12:36 PM, Alvaro J. Genial <genial@alva.ro> wrote:
Aye... if it helps, I'm open to typeclass suggestions. :)

Don't use a typeclass at all: just write encode and decode functions.