format thrift