Convert thrift to HNI

Summary: fixes #3968

Reviewed By: @ptarjan

Differential Revision: D1615812