Switching to JSON as the output for testing