update the test to expect JSON
changed the default result from string to JSON