obj::toArray()