Add parsing JSON to requests and serializing to JSON to responses.