better support for set/get as string