Updated request to json_decode when request have content-type containing 'json', updated tests to reflect this