untested stringify functions