JavaScript: use "application/thrift+json" instead of "application/json"