If the response is JSON parse it and compare that

This allows differences in spacing and differences in the order of properties in
the returned JSON.
Merge pull request #5 from beaugunderson/master

Parse JSON responses and compare them as objects