add possibility to globally switch contenttype to json for put/post

I added a property to the globalSetup to specify that I globally want to use {json:true} for all my tests