[No review required] Change back to using Thrift boolean interface

This reverts commit f2bfd12ff4b061c2983f746daffe4aa4ed4434da.