Changed expected and actual to use JSON.stringify