Update index.md

Correct what I think to be a simple error.
This now seems to line up with the example.  Using your old rule, your escaped string would be:
`/foo~1bar~0`
which would then have been interpreted as:
`{"foo~bar/"}`