Using get_object_vars() to change the $wed_data object into an array so I can walk it with array_walk_recursive.