Using rb_struct_getmember rather than looping over RSTRUCT