Validating the type of value passed to a GET request response body. Addresses #285.