Fix bug in RawWrapper

Was converting arrays to objects unneccesarily