Add fast toArray and toObject to raw sequences