reverts to old StringValueEncoder