Use 1.9+ Hash syntax in TextFormatting

Signed-off-by: Alex Coles <alex@alexbcoles.com>