HH-36196 Add fallback to default tornado encoding