Recursively destroy objects into arrays