various mruby-struct function changes