It keeps the expectation in a file in json format. Not as an escaped JSON string. The thing that is so handy about it is that you don't have to write it out long-hand, you grab the response, and if it's different from whatever is approved, you can pop it open, look at the diff and decide if it looks the way you want.