cast hstore values on write to be consistent with reading from the db.