What changes would you need to make to the code above to serve a JSON object instead of a string?