fix for #12

fixes issue 12 by specifying a content type of application/json for the content