fix get_object_vars for simplexml objects

Just like o_toArray, we need to make o_toIterArray call into our own
implementation.