fixing issue with encoding larger hstores with utf8 data