Changed determination of when a response is json or not to pattern match the word "json" in the content type, rather than checking if it equals 'application/json' because the content type 'application/hal+json' wasn't being recognised as JSON.
Changed determination of when a response is json or not to pattern match the word "json" in the content type, rather than checking if it equals 'application/json' because the content type 'application/hal+json' wasn't being recognised as JSON.

elgalu/pact,sangohan/pact,elgalu/pact,evjan/pact,dekz/pact,sangohan/pact,dekz/pact