Changed Content-Type header to application/json per http://www.ietf.org/rfc/rfc4627.txt