fix xss attack via request uri. pass it through json_encode.

it fixes https://github.com/antimattr/GoogleBundle/issues/23