fix issue #35: successfully serialize let expressions