Copy the JSON bytes when scanning so they aren't re-used by the driver.