Introduced an optimisation for when the range given to JSONReader is a string.