Enable non-object JSON bodies

Updated JSON requests so they can contain bodies that are not objects
I have updated the test to do this verification using a new `createPostJSONValidator` method that returns a JSON response.