http_interface: support subscripts and superscripts