Making JSON the default for request and response