A small utility to escape/unescape HTML entities