Fatal crash when using "@" symbol in JSON field

This has been fixed and will be available in 1.8.3.

GET /rest/db/foo/user@domain.com will return a 404 instead of crashing PHP.