Move HexStringFormatAttribute to the helpers package

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>