I think this becomes an issue when we fix the problem that not all requests should be 'application/json' and the document APIs need to support binary. Can we fix code here that prevents it from breaking in the future when we make that switch?