Experimental JKSN encoder and decoder for Ruby