Remove depth and walk into arrays