Dump mruby objs to file as JSON