ESTree expects the `range` value to be an array of `[start, end]`, we support deserializing from that format but serialized as an object of `{start,end}`, now we serialize to the array form.