Convert string to HNI

Reviewed By: @ptarjan

Differential Revision: D1551020