switched to ThriftStructSerializer