Added workaround for IE JSON behavior with foreign Arrays.