Fixed reverse encoding for strings in lexitypes