Fixes #6 encode the query

This didn't need encoding like I thought, it just needed the correct content
type of json/utf-8 set so jquery encodes correctly.