JsonContent: Lazy generate the response bytes and return a real computed length. This just seems to behave more reliable when hosted in IIS.
Web.config: Ensure extensionlessurlhandler is enabled as runAllManagedModulesForAllRequests (ramfar) is set to true