mruby implementation of cruby marshaling.