Encode entities when needed for item_value, including now calendar
Stop download data from sending HTML content instead of CSV