partial fix for #107, set application/json to be default content-type