Replaces all double quoted strings in the input string with
BadRequestHttpError Thrown if invalid characters are detected in a quoted string.
The Accept header string.
The transformed string and a map with keys
"0", etc. and values the original string that was there.